package oop5;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetTest2 {
    public static void main(String[] args) {
        Pet d = new Dog("刀疤黄", 100, 40, "公", "田园犬");
        d.sex = "母";
        d.print();

        //d.eat();//error

    }
}
